package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 任务信息 视图
 *
 * @author code-generate
 * @date 2021-08-31
 */
@Data
@ApiModel(value = "TaskInfo 视图", description = "任务信息 视图")
public class TaskInfoVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    @Excel(name = "类型", orderNum = "0")
    private Short type;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Excel(name = "名称", orderNum = "0")
    private String name;

    /**
     * 公园id
     */
    @ApiModelProperty(value = "公园id")
    @Excel(name = "公园id", orderNum = "0")
    private Integer extentId;

    /**
     * 公园简称
     */
    @ApiModelProperty(value = "公园简称")
    @Excel(name = "公园简称", orderNum = "0")
    private String extentName;

    /**
     * 面积
     */
    @ApiModelProperty(value = "面积")
    @Excel(name = "面积", orderNum = "0")
    private BigDecimal area;

    /**
     * 人员类型
     */
    @ApiModelProperty(value = "人员类型")
    @Excel(name = "人员类型", orderNum = "0")
    private Integer personType;

    /**
     * 人员类型名称
     */
    @ApiModelProperty(value = "人员类型名称")
    @Excel(name = "人员类型名称", orderNum = "0")
    private String personName;

    /**
     *  对象类型id(1-机械作业任务,2-人员作业任务)
     */
    @ApiModelProperty(value = " 对象类型id(1-机械作业任务,2-人员作业任务)")
    @Excel(name = " 对象类型", orderNum = "0")
    private Integer objectId;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", orderNum = "0")
    private String remark;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "车牌号")
    private String carName;

    @ApiModelProperty(value = "设施键值对 label,id")
    private List<Map<String,Object>> facilitiesList;
}
